$(function () {
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: '.swiper-pagination',
        effect: 'fade',
        fade: {
            crossFade: true,
        },
        autoplay: 3000
    });
    $('#personal_enter').click(function(){
        $('#siderbar').animate({
            "left":'0'
        },500);
    })
    $('#toggle_siderbar_back_btn').click(function(){
        $('#siderbar').animate({
            "left":'-100%'
        },500);
    });
    $('#close_mask_btn').click(function(){
        $('#index_mask').fadeOut(400);
    });
    setTimeout(function(){
        $('#cartoon_img').addClass('cartoon');
        setTimeout(function(){
            $('#cartoon_img').hide();
            $('#secretary_float').fadeIn(200);
        },500);
    },2000);
});